]> dgit.raspbian.org Git - gnome-shell.git/commit
calendar: Disconnect signals when resetting notification
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 23 Nov 2018 15:22:45 +0000 (16:22 +0100)
committerFlorian Müllner <florian.muellner@gmail.com>
Wed, 16 Jan 2019 17:46:09 +0000 (17:46 +0000)
commitb57832716abb8349569af7606c33c138bc92b2f5
tree4a76a10097f040aa53d819189a32f798637d88ad
parent945a019974a9dea6156ecedec414ee1831fa98eb
calendar: Disconnect signals when resetting notification

Since commit 5fb8d4f730, a NotificationMessage's notification property
is reset to null when the notification is destroyed. However at that
point we still have connected signal handlers around that we'll try
to disconnect later.

Avoid the warnings by disconnecting and resetting the handler IDs at
the same time as the notification.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/308
js/ui/calendar.js